package com.tl.khadmin.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.tl.khadmin.bean.Logistics;

public interface LogisticsMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Logistics record);

    int insertSelective(Logistics record);

    Logistics selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Logistics record);

    int updateByPrimaryKey(Logistics record);

	List<Logistics> listLogistics(Map<String, Object> param);

	Integer queryIdByNameAndId(@Param("id") Integer id, @Param("logisticsName") String logisticsName);

	List<Logistics> showLogisticsByPage(Map<String, Object> params);

	Integer queryIdByName( @Param("logisticsName") String logisticsName);

	int deleteByIds(@Param("ids") String[] idsArr);
}